from flask import Flask, render_template, request

app = Flask(__name__)


@app.route('/')
def hello():
    name = request.args.get("name","world!")
    # if not name:
    #     name = 'world!'
    print(1/0)
    return render_template('index.html', name=name)


if __name__ == '__main__':
    app.run(debug=False)
